Integrand size = 14, antiderivative size = 90 \[ \int \left (a+b \sin ^2(e+f x)\right )^p \, dx=\frac {\operatorname {AppellF1}\left (\frac {1}{2},\frac {1}{2},-p,\frac {3}{2},\sin ^2(e+f x),-\frac {b \sin ^2(e+f x)}{a}\right ) \sqrt {\cos ^2(e+f x)} \left (a+b \sin ^2(e+f x)\right )^p \left (1+\frac {b \sin ^2(e+f x)}{a}\right )^{-p} \tan (e+f x)}{f} \]
[Out]
Time = 0.06 (sec) , antiderivative size = 90, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.214, Rules used = {3264, 441, 440} \[ \int \left (a+b \sin ^2(e+f x)\right )^p \, dx=\frac {\sqrt {\cos ^2(e+f x)} \tan (e+f x) \left (a+b \sin ^2(e+f x)\right )^p \left (\frac {b \sin ^2(e+f x)}{a}+1\right )^{-p} \operatorname {AppellF1}\left (\frac {1}{2},\frac {1}{2},-p,\frac {3}{2},\sin ^2(e+f x),-\frac {b \sin ^2(e+f x)}{a}\right )}{f} \]
[In]
[Out]
Rule 440
Rule 441
Rule 3264
Rubi steps \begin{align*} \text {integral}& = \frac {\left (\sqrt {\cos ^2(e+f x)} \sec (e+f x)\right ) \text {Subst}\left (\int \frac {\left (a+b x^2\right )^p}{\sqrt {1-x^2}} \, dx,x,\sin (e+f x)\right )}{f} \\ & = \frac {\left (\sqrt {\cos ^2(e+f x)} \sec (e+f x) \left (a+b \sin ^2(e+f x)\right )^p \left (1+\frac {b \sin ^2(e+f x)}{a}\right )^{-p}\right ) \text {Subst}\left (\int \frac {\left (1+\frac {b x^2}{a}\right )^p}{\sqrt {1-x^2}} \, dx,x,\sin (e+f x)\right )}{f} \\ & = \frac {\operatorname {AppellF1}\left (\frac {1}{2},\frac {1}{2},-p,\frac {3}{2},\sin ^2(e+f x),-\frac {b \sin ^2(e+f x)}{a}\right ) \sqrt {\cos ^2(e+f x)} \left (a+b \sin ^2(e+f x)\right )^p \left (1+\frac {b \sin ^2(e+f x)}{a}\right )^{-p} \tan (e+f x)}{f} \\ \end{align*}
Time = 0.56 (sec) , antiderivative size = 145, normalized size of antiderivative = 1.61 \[ \int \left (a+b \sin ^2(e+f x)\right )^p \, dx=\frac {2^{-1-p} \operatorname {AppellF1}\left (1+p,\frac {1}{2},\frac {1}{2},2+p,\frac {2 a+b-b \cos (2 (e+f x))}{2 (a+b)},\frac {2 a+b-b \cos (2 (e+f x))}{2 a}\right ) \sqrt {\frac {b \cos ^2(e+f x)}{a+b}} (2 a+b-b \cos (2 (e+f x)))^{1+p} \csc (2 (e+f x)) \sqrt {-\frac {b \sin ^2(e+f x)}{a}}}{b f (1+p)} \]
[In]
[Out]
\[\int {\left (a +b \left (\sin ^{2}\left (f x +e \right )\right )\right )}^{p}d x\]
[In]
[Out]
\[ \int \left (a+b \sin ^2(e+f x)\right )^p \, dx=\int { {\left (b \sin \left (f x + e\right )^{2} + a\right )}^{p} \,d x } \]
[In]
[Out]
Timed out. \[ \int \left (a+b \sin ^2(e+f x)\right )^p \, dx=\text {Timed out} \]
[In]
[Out]
\[ \int \left (a+b \sin ^2(e+f x)\right )^p \, dx=\int { {\left (b \sin \left (f x + e\right )^{2} + a\right )}^{p} \,d x } \]
[In]
[Out]
\[ \int \left (a+b \sin ^2(e+f x)\right )^p \, dx=\int { {\left (b \sin \left (f x + e\right )^{2} + a\right )}^{p} \,d x } \]
[In]
[Out]
Timed out. \[ \int \left (a+b \sin ^2(e+f x)\right )^p \, dx=\int {\left (b\,{\sin \left (e+f\,x\right )}^2+a\right )}^p \,d x \]
[In]
[Out]